package com.kevin.file.controller;

import com.kevin.file.service.FileService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author Hank Lau
 * @date 2021/11/3
 */
@RestController
public class FileController {

    @Resource
    FileService fileService;

    @GetMapping("/fileUpload")
    public String fileUpload() {
        fileService.uploadFile();
        return "success";
    }

}
